package com.kongfanyu.springcloud.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.kongfanyu.springcloud.entities.CommonResult;

public class CustomerBlockHandler {

    public static CommonResult handleException(BlockException e){
        return new CommonResult(4444,"自定义的限流处理信息..全局限流..CustomerBlockHandler------1");
    }
    public static CommonResult handleException2(BlockException e){
        return new CommonResult(4444,"自定义的限流处理信息..全局限流..CustomerBlockHandler------2");
    }
}
